package com.china08.yxyapi.entity.db.lessons;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.china08.yxyapi.entity.BaseEntityNoId;

/**
 * 
 * 
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "yxy_lessons_synchro_catalog", catalog = "yxy_lessons")
public class YxyLessonsSynchroCatalog extends BaseEntityNoId {

    @Id
    @Column(length = 32)
    private String id;
    @Column
    private String stageId;
    @Column
    private String gradeId;
    @Column
    private String subjectId;
    @Column
    private String versionId;
    /** 排列序号 */
    @Column(name = "order_num", nullable = false, columnDefinition = "INT(11) DEFAULT 100")
    private Integer orderNum = 100;

    public String getStageId() {
        return stageId;
    }

    public void setStageId(String stageId) {
        this.stageId = stageId;
    }

    public String getGradeId() {
        return gradeId;
    }

    public void setGradeId(String gradeId) {
        this.gradeId = gradeId;
    }

    public String getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(String subjectId) {
        this.subjectId = subjectId;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    // /**
    // * 使用范围: "yx":云校 "hrb":哈尔滨
    // */
    // @Column(name = "scope", nullable = false)
    // private String scope = "yx";

}
